package com.letoken.platform.repo.ecommerce.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.letoken.platform.pub.req.QueryReqBase;
import com.letoken.platform.repo.ecommerce.po.EcommerceProduct;
import com.letoken.platform.repo.ecommerce.po.EcommerceProductSku;
import com.letoken.platform.repo.ecommerce.po.EcommerceUserOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "新商家商品响应对象", description = "新商家商品响应对象")
public class ShopProductRes implements Serializable {



    @ApiModelProperty(value = "商品ID")
    private Integer id;

    @ApiModelProperty(value = "主图")
    private String pic;


    @ApiModelProperty(value = "实际价格")
    private BigDecimal realPrice;


    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "商品标题")
    private String title;


    @ApiModelProperty(value = "销量")
    private Integer sale;


    @ApiModelProperty(value = "让利值")
    private BigDecimal contributing;

    @ApiModelProperty(value = "库存")
    private Integer stock;
}
